//
//  AppDelegate.swift
//  sinaweibo
//
//  Created by Reality on 2017/6/28.
//  Copyright © 2017年 wangjing. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
        // 实例化
        window = UIWindow(frame: UIScreen.main.bounds)
        // 背景颜色
        window?.backgroundColor = UIColor.white
        // 设置根控制器
        window?.rootViewController = HMMainViewController()
        // 成为主窗口 并显示
        window?.makeKeyAndVisible()
        return true
    }

}

